package com.deram.ctin.serv.search.solr.service;

import com.deram.ctin.common.bean.PageResult;
import com.deram.ctin.serv.search.entity.solr.bean.SolrEnterInfo;
import com.deram.ctin.serv.search.entity.solr.search.WebEnterSearchParam;
import org.springframework.data.solr.core.query.result.SolrResultPage;

import java.text.ParseException;
import java.util.List;

public interface SolrEnterInfoService {

    SolrEnterInfo save(SolrEnterInfo solrCustomsInfo);


    SolrEnterInfo findById(Long id);

    void delete(Long id);

    List<SolrEnterInfo> findAll();


    PageResult<SolrEnterInfo> searchByKeywords(WebEnterSearchParam keywords, Integer pageNo, Integer pageSize) ;


     void saveList(List<SolrEnterInfo> list);
}